package com.dengyafei.mapper;

import com.dengyafei.bean.ResumeEntity;
import com.dengyafei.bean.ResumeEntityExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 邓亚非
 */
@Mapper
public interface ResumeEntityMapper {
    int countByExample(ResumeEntityExample example);

    int deleteByExample(ResumeEntityExample example);

    int deleteByPrimaryKey(Integer rid);

    int insert(ResumeEntity record);

    int insertSelective(ResumeEntity record);

    List<ResumeEntity> selectByExample(ResumeEntityExample example);

    ResumeEntity selectByPrimaryKey(Integer rid);

    int updateByExampleSelective(@Param("record") ResumeEntity record, @Param("example") ResumeEntityExample example);

    int updateByExample(@Param("record") ResumeEntity record, @Param("example") ResumeEntityExample example);

    int updateByPrimaryKeySelective(ResumeEntity record);

    int updateByPrimaryKey(ResumeEntity record);

    ResumeEntity queryByGid(Integer gid);
}